package com.sky.service;

import com.sky.dto.AnnouncementsAddDTO;
import com.sky.dto.AnnouncementsUpdateDTO;
import com.sky.dto.BaclstageNoticeQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.AnnouncementsVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Service
public interface BackstageNoticeService {


    AnnouncementsVO getNoticeById(Integer id);

    void updateAnnouncement(AnnouncementsUpdateDTO announcementsUpdateDTO);

    void deleteAnnouncement(List<Integer> ids);

    void announcementAdd(AnnouncementsAddDTO announcementsAddDTO);

    PageResult getAllNotice(BaclstageNoticeQueryDTO baclstageNoticeQueryDTO);
}
